package com.example.demo.serviceimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.entity.UserInforTourist;
import com.example.demo.mapper.UserInforTouristMapper;
import com.example.demo.service.UserInforTouristService;

/**
 * 用户信息的实现类
 * 
 * @author wang
 *
 */
@Service
public class UserInforTouristServiceImpl implements UserInforTouristService {

	@Autowired
	private UserInforTouristMapper userInforTouristMapper;

	/**
	 * 查找用户id
	 * 
	 * @param userId
	 * @return
	 */
	@Override
	public UserInforTourist findUserId(Integer userId) {

		return userInforTouristMapper.findUserId(userId);
	}

}
